package com.speechb.service;

import com.ld.lucenex.base.Page;
import com.speechb.entity.Blog;

import java.util.List;

/**
 * <p>
 * 博客 服务类
 * </p>
 *
 * @author llj
 * @since 2021-03-14
 */
public interface IBlogService  {

    List<Blog> findAll(Integer integer);

    Blog findContent(String id);

    void updateScanCount(String id, int hot);

    Blog findById(String id);

    List<Blog> findLuceneData(String id);

    Page<Blog> search(String keyword, int statusId, int pageNum, int pageSize, String uid);

    void convertConverUrl(List<Blog> blogList);

    List<Blog> findLuceneData();

    List<Blog> findByUser(String uid, Integer status);
}
